// sharedpointer.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include "sharedpointer.h"

int wmain(int argc, wchar_t *argv[])
{
	SharedPointer<int > l_sp1(new int(3));
	SharedPointer<int > l_sp2(l_sp1);
	l_sp1 = l_sp2;
	l_sp1.reset(new int);
	int *q = l_sp1.get();
	int &z = *l_sp2;
	return 0;
}
